<%@page import="java.math.BigDecimal"%>
<%@page import="sun.misc.BASE64Encoder"%>
<%@page import="java.util.Date"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@page import="java.util.Map"%>
<%@page import="com.boc.image.web.UserLogin"%>
<%@page import="java.util.HashMap"%>
<%@page import="java.util.List"%>
<%@page import="com.boc.image.sqlmap.domain.TImgCjwt"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" />
<title>好多图免费图片外链空间</title>
<meta name="copyright" content= "免费图片空间上传 Copyright(c) 2011" />
<meta name="application-name" content="免费图片空间上传" />
<meta name="keywords" content="淘宝相册|免费相册|外链免费相册|淘宝图片空间|淘宝免费相册|淘宝外链相册|免费可外链相册|图片外链网站" /> 
<meta name="description" content="专业淘宝相册,外贸相册,提供稳定的淘宝图片存储空间，支持相册批量上传、批量贴图。中国唯一的彻底免费的淘宝免费相册。">
<link type="text/css" href="../css/core.css" rel="stylesheet"/>
<script type="text/javascript" src="../js/easyUI/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="../js/AjaxProxy.js"></script>
<script type="text/javascript">
	var frame = true;
	function loginOut(){
		var out = new AjaxProxy();
		out.invoke("login.loginOut",false);
		window.location.replace("../index.html");
	}
</script>
<style type="text/css">
	.TableLine{
		border-collapse:collapse;
		border:1px solid #9BC2E0;
	}
	.TableLine td{
	cursor:pointer;
		border:1px solid #9BC2E0;
	}
</style>
</head>
<body>
<%
	Object userId = request.getSession().getAttribute("userId");
	Map userInfo = new HashMap();
	if (userId != null) {
		userInfo = new UserLogin().getUserInfo(Integer.parseInt(userId.toString()));
		Object pn_ret = userInfo.get("PN_RET");
		if(pn_ret == null) {
			%>
				<script type="text/javascript">
					window.location.replace("../index.html");
				</script>
			<%
		} else if(pn_ret.toString().equals("1")) {
			%>
				<script type="text/javascript">
					window.location.replace("../index.html");
				</script>
			<%
		} else {
			
		}
	} else {
		%>
			<script type="text/javascript">
				window.location.replace("../index.html");
			</script>
		<%
	}
%>
<div class="center">
	<div class="top">
		<div style="width:300px; float:left; line-height:30px; height:30px; margin-left:5px;">
			<marquee scrolldelay="250" onMouseOver="this.stop();" onMouseOut="this.start();">
				<a href="#">欢迎登陆！免费注册 享用200MB免费相册空间！</a> 
			</marquee>
		</div>
		<div style="width:300px; float:right; line-height:30px; height:30px; margin-right:15px; text-align:right;">
			<a href="javascript:void(0)" onclick="loginOut()">退&nbsp;&nbsp;出</a> | 
			<a href="../page/login.html">用户登陆</a> | 
			<a href="../page/register.html">用户注册</a> | 
			<a href="javascript:window.external.addFavorite('http://www.hodoto.com','好多图免费图片外链空间');">加入收藏</a> |<a href="#"> 帮助</a>
		
		</div>
	</div>
	<div class="title">
		<div class="title_left">
			<div class="title_left_top">
				<div class="title_left_top1"></div>
				<div class="title_left_top2"></div>
				<div class="title_left_top3"></div>
			</div>
			<div class="title_left_bottom">
				<div class="title_left_bottom1"></div>
				<div class="title_left_bottom2" style="text-align:center">
					<div style="width:118px; float:left; height:35px; line-height:33px; color:#fff; font-size:14px; font-weight:bold;">
						<span style="cursor:pointer;" onMouseOver="this.style.color='#fcff00'" onMouseOut="this.style.color='#fff'" 
						onClick="window.location.href='../index.html'">
						&nbsp;首&nbsp;&nbsp;&nbsp;&nbsp;页
						</span></div>
					<div style="width:118px; float:left; height:35px; line-height:33px; color:#fcff00; font-size:14px; font-weight:bold;"><span style="cursor:pointer;">&nbsp;管理页面</span></div>
				</div>
			</div>
		</div>
		<div class="title_right"></div>
	</div>
	<div class="body">
		<div class="body_left">
			<div class="body_left_msg0">
				<div class="body_left_msg0_top">用户信息</div>
				<div class="body_left_msg0_bottom">
					<table width="180" height="84" border="0" cellspacing="0">
					  <tr>
						<td width="88" rowspan="3" align="left" valign="middle">
							<div style="width:84px; height:84px;position:relative; background-color:#CCCCCC">
								<%if(userInfo.get("PC_TX") != null){ %>
									<img src="../images/header/<%=userInfo.get("PC_TX") %>?key=<%= (new Date().getTime()) %>" id="userHeader" style="width:80px; height:80px; margin:2px;"/>
								<%}else{ %>
									<img src="../images/tx.gif?key=<%= (new Date().getTime()) %>" style="width:80px; height:80px; margin:2px;" id="userHeader"/>
								<%} %>
							</div>
						</td>
						<td height="31" style="color:#1b9c01; font-size:12px;"><%=userInfo.get("PC_LOGINNAME") %></td>
					  </tr>
					  
					  <tr>
						<td height="25"><label style="font-size:12px;">类型：<%=userInfo.get("PC_ZHLX") %></label></td>
					  </tr>
					  <tr>
						<td height="25"><label style="font-size:12px;">图片数：<%=userInfo.get("PN_TPS") %></label></td>
					  </tr>
					  <!--<tr>
						<td height="17"><label style="font-size:10px;">积分数：< %=userInfo.get("PN_JFS") %></label></td>
					  </tr>-->
				  </table>
				</div>
			</div>
			<div class="body_left_msg1">
				<table width="207" height="110" border="0" cellspacing="0">
				  <tr>
					<td height="25" colspan="2" align="center" valign="middle"><label style="background:url(../images/email.gif) no-repeat 0px 3px; padding-left:25px;"><a href="/filter/user/message" target="content">站内信(<%=userInfo.get("PN_MSGNUM") %>)</a></label></td>
				  </tr>
				  <tr>
					<td height="3" colspan="2" align="center"><img src="../images/hh.gif"/></td>
				  </tr>
				  <tr>
					<td width="95" align="right">注册时间：</td>
				    <td width="112" align="left"><%=userInfo.get("PC_ZCSJ") %></td>
				  </tr>
				  <!--<tr>
					<td width="100" align="right">到期时间：</td>
				    <td width="107" align="left">< %=userInfo.get("PC_DQSJ") %></td>
				  </tr>-->
				  <tr>
					<td width="95" align="right">空间大小：</td>
				    <td width="112" align="left"><%=(Integer.parseInt(userInfo.get("PN_KJ").toString())/1024) %>MB</td>
				  </tr>
				  <tr>
					<td width="95" align="right">已用空间：</td>
				    <td width="112" align="left">
				    <%=(new BigDecimal(Float.parseFloat(userInfo.get("PN_YSYKJ").toString())/1024)).setScale(2,BigDecimal.ROUND_HALF_UP) %>
				    MB〖<a href="/core"><font color=red>刷新</font></a>〗</td>
				  </tr>
				  <tr>
					<td width="95" align="right">&nbsp;</td>
				    <td width="112" align="left">&nbsp;</td>
				  </tr>
			  </table>

			</div>
			<div class="body_left_msg2"></div>
			<div class="body_left_msg3">
				<label style="margin-left:35px; color:#000000; font-weight:bold;">操作中心</label>
			</div>
			<div class="body_left_msg4">
				<!--功能列表-->
				<!-- <div class="body_left_msg4_list">
					<div style="width:150px;height:35px; line-height:35px; text-align:center;">
						<label style="background:url(../images/money.gif) no-repeat; padding-left:22px; font-weight:bold; color:#294994;">
							付费续费
						</label>
					</div>
				</div>
				<div style="width:186px; height:auto; margin-left:9px; vertical-align:middle">
					<ul style="list-style:none; margin:0px auto; width:100px;">
						<li style="margin-top:8px; background:url(../images/li.gif) no-repeat 1px 1px; padding-left:15px; ">
							<a href="/filter/play/play" target="content">我要续费</a>
						</li>
						<li style="margin-top:8px; margin-bottom:5px; background:url(../images/li.gif) no-repeat 1px 1px; padding-left:15px; ">
							<a href="#" target="content" onClick="window.scrollTo(0,0)
">付费记录</a>
						</li>
					</ul>
				</div>
				
				<div class="body_left_msg4_list">
					<div style="width:150px;height:35px; line-height:35px; text-align:center;">
						<label style="background:url(../images/22.gif) no-repeat; padding-left:22px; font-weight:bold; color:#294994;">
							用户任务
						</label>
					</div>
				</div>
				<div style="width:186px; height:auto; margin-left:9px;">
					<ul style="list-style:none; margin:0px auto; width:100px;">
						<li style="margin-top:8px; background:url(../images/li.gif) no-repeat 1px 1px; padding-left:15px; ">
							<a href="/filter/task/task" target="content" onClick="window.scrollTo(0,0)
">接收任务</a>
						</li>
						<li style="margin-top:8px; margin-bottom:5px; background:url(../images/li.gif) no-repeat 1px 1px; padding-left:15px; ">
							<a href="/filter/task/history?cType=2&currPage=1" target="content" onClick="window.scrollTo(0,0)
">任务历史</a>
						</li>
					</ul>
				</div>-->
				
				
				<div class="body_left_msg4_list">
					<div style="width:150px;height:35px; line-height:35px; text-align:center;">
						<label style="background:url(../images/66.gif) no-repeat; padding-left:22px; font-weight:bold; color:#294994;">
							相册管理
						</label>
					</div>
				</div>
				<div style="width:186px; height:auto; margin-left:9px;">
					<ul style="list-style:none; margin:0px auto; width:100px;">
						<!--<li style="margin-top:6px; background:url(../images/li.gif) no-repeat 1px 1px; padding-left:15px; ">
							<a href="/filter/image/image" target="content">图片上传</a>
						</li>-->
						<li style="margin-top:6px; margin-bottom:5px; background:url(../images/li.gif) no-repeat 1px 1px; padding-left:15px; ">
							<a href="/filter/image/albums" target="content">我的相册</a>
						</li>
					</ul>
				</div>
				
				<!-- <div class="body_left_msg4_list">
					<div style="width:150px;height:35px; line-height:35px; text-align:center;">
						<label style="background:url(../images/33.gif) no-repeat; padding-left:22px; font-weight:bold; color:#294994;">
							店铺搬家
						</label>
					</div>
				</div>
				<div style="width:186px; height:40px; margin-left:9px;">
					
				</div>-->
				
				<div class="body_left_msg4_list">
					<div style="width:150px;height:35px; line-height:35px; text-align:center;">
						<label style="background:url(../images/44.gif) no-repeat; padding-left:22px; font-weight:bold; color:#294994;">
							用户信息
						</label>
					</div>
				</div>
				<div style="width:186px; height:auto; margin-left:9px;">
					<ul style="list-style:none; margin:0px auto; width:100px;">
						<li style="margin-top:6px; background:url(../images/li.gif) no-repeat 1px 1px; padding-left:15px; ">
							<a href="/filter/user/message" target="content">站内信</a>
						</li>
						<li style="margin-top:6px; margin-bottom:5px; background:url(../images/li.gif) no-repeat 1px 1px; padding-left:15px; ">
							<a href="/filter/user/user" target="content">资料设置</a>
						</li>
					</ul>
				</div>
				<!--
				<div class="body_left_msg4_list">
					<div style="width:150px;height:35px; line-height:35px; text-align:center;">
						<label style="background:url(../images/55.gif) no-repeat; padding-left:22px; font-weight:bold; color:#294994;">
							店铺统计
						</label>
					</div>
				</div>
				<div style="width:186px; height:40px; margin-left:9px;">
					
				</div>-->
				
			</div>
			<div class="body_left_msg2"></div>
			<div class="body_left_msg3">
				<label style="margin-left:35px; color:#000000; font-weight:bold;">使用帮助</label>
			</div>
			<div class="body_left_msg5">
				<ul style="margin-left:35px;color:#e6e5e5; line-height:18px;">
					<%
						List faq = new UserLogin().getFAQ();
						int size = faq.size()>6?6:faq.size();
						for (int i = 0 ; i < size ; i ++) {
							TImgCjwt cjwt = (TImgCjwt)faq.get(i);
							%>
								<li><a href="/filter/help/helpme?id=<%=cjwt.getnXh()%>" target="content"><%=cjwt.getcWt() %></a></li>
							<%
						}
					%>
				</ul>
			</div>
			<div class="body_left_msg6"></div>
		</div>
		<div class="body_right">
			<iframe id="content" name="content" src="/welcome" width="100%" height="100%" frameborder="0"></iframe>
		</div>
	</div>
	
	<div class="bottomline"></div>
	<div class="bottom"></div>
	<div style="height:30px; line-height:30px; text-align:center; border-top:1px solid #000; vertical-align:middle; float:left; width:800px;">

		《好多图》免费图片外链空间 - &copy; All rights reserved.	 蜀ICP备10205284号&nbsp;&nbsp;

		<script src="http://s15.cnzz.com/stat.php?id=2997693&web_id=2997693&show=pic" language="JavaScript"></script>

	</div>
</div>
</body>
</html>